package com.nanxun;



import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * 产品业务模块启动类
 * 
 * @param
 * @return 
 * @author nanxun
 * @create 2025/6/15
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableCaching //开启注解式缓存(默认使用的缓存中间件是redis)
@EnableFeignClients
public class ProductServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(ProductServiceApplication.class,args);
    }
}
